package com.hanagent.utils;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; 

public class ResponseUtils {
	
	public static String sendResult(int code, Object data, String message) {
		JSONObject object = new JSONObject();
		object.put("code", code);
		object.put("data", data);
		object.put("message", message);
		return JSON.toJSONString(object);
	}
}
